<div style="position:relative;width:100%;margin:0 auto;"><img src="images/topnav-bg.jpg" width="100%" height="40" border="0" alt=""  />
<div style="position:absolute;top:8px;left:0;width:100%;"><div style="width:1012px;margin:0 auto">  

<?php
if(isset($_SESSION['UserName']))
{
?>
<ul id="topnav" class="mainnav">  
<li><a href="admin/admin-homepage" class="sitemap">Back To Admin Home</a></li>   
<li><a href="vehicles?type=new" class="ownersarea">Vehicles Page</a></li>   
<li><a href="secure.php?logout=yes" class="admin">Log Out</a></li>   
</ul>
<?php
}
else
{
	header("Location:admin/admin-login");
}
?>
</div>
</div></div>
 


